package s08.ch10.ex1;

import java.math.BigDecimal;

public class Teacher extends Person {

	private BigDecimal salary;

	public Teacher(String name, String surname, String address,
			BigDecimal salary) {
		super(name, surname, address);
		setSalary(salary);
	}

	public BigDecimal getSalary() {
		return salary;
	}

	public void setSalary(BigDecimal salary) {
		this.salary = salary;
	}

}
